package com.xunk.equipment;

import com.xunk.common.security.annotation.EnableCustomConfig;
import com.xunk.common.security.annotation.EnableRyFeignClients;
import com.xunk.common.swagger.annotation.EnableCustomSwagger2;
import com.xunk.equipment.websocket.WebsocketManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 系统模块
 * 
 * @author ruoyi
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringCloudApplication
@EnableAutoConfiguration
@EnableScheduling
public class XunkEquipmentApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(XunkEquipmentApplication.class, args);
        WebsocketManager.cleanSocket();
        System.out.println("(♥◠‿◠)ﾉﾞ  equipment模块启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "    __    _                 \n" +
                "   / /_  (_)___  ____ _____ \n" +
                "  / __ \\/ / __ \\/ __ `/ __ \\\n" +
                " / /_/ / / / / / /_/ / /_/ /\n" +
                "/_.___/_/_/ /_/\\__, /\\____/ \n" +
                "              /____/        \n");
    }

}
